package com.ruoyi.company.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司管理对象 Company
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long CompanyId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String CompanyName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String Address;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String PhoneNumber;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String Email;

    public void setCompanyId(Long CompanyId) 
    {
        this.CompanyId = CompanyId;
    }

    public Long getCompanyId() 
    {
        return CompanyId;
    }
    public void setCompanyName(String CompanyName) 
    {
        this.CompanyName = CompanyName;
    }

    public String getCompanyName() 
    {
        return CompanyName;
    }
    public void setAddress(String Address) 
    {
        this.Address = Address;
    }

    public String getAddress() 
    {
        return Address;
    }
    public void setPhoneNumber(String PhoneNumber) 
    {
        this.PhoneNumber = PhoneNumber;
    }

    public String getPhoneNumber() 
    {
        return PhoneNumber;
    }
    public void setEmail(String Email) 
    {
        this.Email = Email;
    }

    public String getEmail() 
    {
        return Email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("CompanyId", getCompanyId())
            .append("CompanyName", getCompanyName())
            .append("Address", getAddress())
            .append("PhoneNumber", getPhoneNumber())
            .append("Email", getEmail())
            .toString();
    }
}
